All Questions
1 question
10votes
9answers
7kviews
Is it possible to truncate a file (in place, same inode) at the beginning?
It is possible to remove trailing bytes of a file without writting to a new file (> newfile) and moving it back (mv newfile file). That is done with truncate: truncate -s -1 file It is possible to ...